View Single Post
  #10   Spotlight this post!  
Unread 22-01-2014, 23:12
virtuald's Avatar
virtuald virtuald is offline
RobotPy Guy
AKA: Dustin Spicuzza
FRC #1418 (), FRC #1973, FRC #4796, FRC #6367 ()
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2003
Location: Boston, MA
Posts: 1,043
virtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant future
Re: RobotPy 2014.1 and pynetworktables 2014.1 released

Very bizarre. Perhaps try upgrading to 4.15.4? (I'm actually using 4.15.4, now that I look at it). There is a note in the 4.15.3 changelog that they fixed something regarding virtual functions.

Also, what does your sippynetworktables... cpp look like? The class definition looks like this, and yours should be relatively identical:

Code:
class sipNetworkTable : public NetworkTable
{
public:
    sipNetworkTable(std::string,NetworkTableProvider&);
    virtual ~sipNetworkTable();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool IsServer();
    bool IsConnected();
    void RemoveConnectionListener(IRemoteConnectionListener *);
    void AddConnectionListener(IRemoteConnectionListener *,bool);
    void RemoveTableListener(ITableListener *);
    void AddSubTableListener(ITableListener *);
    void AddTableListener(ITableListener *);
    bool GetBoolean(std::string) throw(TableKeyNotDefinedException);
    void PutBoolean(std::string,bool);
    std::string GetString(std::string) throw(TableKeyNotDefinedException);
    void PutString(std::string,std::string);
    double GetNumber(std::string) throw(TableKeyNotDefinedException);
    void PutNumber(std::string,double);
    void PutValue(std::string,ComplexData&);
    bool ContainsSubTable(std::string);
    bool ContainsKey(std::string);
    NetworkTable * GetSubTable(std::string);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipNetworkTable(const sipNetworkTable &);
    sipNetworkTable &operator = (const sipNetworkTable &);

    char sipPyMethods[17];
};
If yours doesn't look like that, then your code is out of sync for some reason.
__________________
Maintainer of RobotPy - Python for FRC
Creator of pyfrc (Robot Simulator + utilities for Python) and pynetworktables/pynetworktables2js (NetworkTables for Python & Javascript)

2017 Season: Teams #1973, #4796, #6369
Team #1418 (remote mentor): Newton Quarterfinalists, 2016 Chesapeake District Champion, 2x Innovation in Control award, 2x district event winner
Team #1418: 2015 DC Regional Innovation In Control Award, #2 seed; 2014 VA Industrial Design Award; 2014 Finalists in DC & VA
Team #2423: 2012 & 2013 Boston Regional Innovation in Control Award


Resources: FIRSTWiki (relaunched!) | My Software Stuff
Reply With Quote