- Timestamp:
- May 25, 2015, 2:41:57 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core7/src/libraries/network/NetworkFunction.h
r10472 r10475 69 69 class _NetworkExport NetworkFunctionBase { 70 70 public: 71 NetworkFunctionBase(const std::string& name, const NetworkFunctionPointer& p );71 NetworkFunctionBase(const std::string& name, const NetworkFunctionPointer& pointer); 72 72 virtual ~NetworkFunctionBase() {} 73 73 74 74 void setNetworkID(uint32_t id); 75 inline uint32_t getNetworkID() const { return this->networkID_; } 76 inline const std::string& getName() const { return name_; } 75 inline uint32_t getNetworkID() const { return this->networkID_; } 76 inline const std::string& getName() const { return this->name_; } 77 inline const NetworkFunctionPointer& getPointer() const { return this->pointer_; } 77 78 78 79 virtual bool call(uint32_t objectID)=0; … … 86 87 uint32_t networkID_; 87 88 std::string name_; 89 NetworkFunctionPointer pointer_; 88 90 89 91 };
Note: See TracChangeset
for help on using the changeset viewer.