Displaying 1 result from an estimated 1 matches for "networkidobject".
2009 Aug 30
4
[LLVMdev] Perfect forwarding?
...I
have even used it to implement a C++ network RPC system that
serializes up the arguments, handles pointers/references/const'ness
correctly, handles sync of network objects, and is used like any
normal C++ function. It let me create this syntax:
// example used code
class someClass : public NetworkIDObject {
public:
void someMethod(float f) {
// do other stuff
}
}
// If someClass did not have NetworkIDObject as a child anywhere in
its multibase hierarchy, then the class itself is serialized up as if
by value, then passed to the remote function by pointer when
deserialized (on the stack,...